Swacd.prototype.constructor = Swacd;

/**
 * @class
 * Classe geral do sistema
 */
function Swacd(){
	/**
	* Construtor padrao das classes do sistema chamado explicitamente,
	* que sempre retorna o proprio objeto
	* @return this {Object} Aplicacao construida
	*/
	this.init = function(){
		this.build ();
		return this;
	}

	/**
	 * Constroi o conteudo do sistema
	 */
	this.build = function(){
		var ifSwacd = new IfSwacd().init();

		var ctrlList = new CtrlList().init();

		var ifList = new IfList().init({
			ctrlObj: ctrlList,
			parentObj: ifSwacd
		});

		ctrlList.load ({folder: 'INBOX'});
	}
}
